<?php
/**
 * Created by PhpStorm
 * User: rain
 * Date: 2018/12/26
 * Time: 下午5:23
 */

namespace App\Models;

use App\Utils\PageUtil;
use Illuminate\Database\Eloquent\Model;


/**
 * Class Users
 * @property integer $id
 * @property string $nick_name
 * @property string $avatar
 * @property string $country_code
 * @property string $mobile
 * @property string $open_id
 * @property string $union_id
 * @property string $session_key
 * @property string $api_token
 * @property integer $last_active_time
 * @property integer $inviter_id
 * @property string $channel
 * @property string $city
 * @property string $province
 * @property string $country
 * @property string $sex
 * @property string $language
 * @property string $grade
 * @property string $description
 * @property string $remember_token
 * @property integer $mobile_time
 * @property integer $auth_type
 * @property integer $auth_target_id
 * @property integer $expire_time
 * @property integer $classify_id
 * @property string $classify_date
 * @property integer $auth_subscribe
 * @property string $created_at
 * @property string $updated_at
 * @package App\Models
 */
class Users extends Model
{
    protected $table = 'users';

    public static $cityLabels = [
        '上海市' => '上海市',
        '深圳市' => '深圳市',
        '广州市' => '广州市',
        '成都市' => '成都市',
        '北京市' => '北京市',
        '武汉市' => '武汉市',
    ];

}
